import time

from selenium.webdriver.common.by import By
from Base.base_page import BasePage

class showPage(BasePage):
    URL = "http://www.testingedu.com.cn:8000/Home/Goods/search.html"

    addNum = (By.XPATH, "//div[@class='shop-list-splb p']/ul/li[4]/div//*[@class='litt-zzyl1']")
    addCaet = (By.XPATH, "//div[@class='shop-list-splb p']/ul/li[4]/div/div[5]/div[2]/a")

    def mp_details(self):
        self.click(self.addNum)
        self.click(self.addCaet)